[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
ABORT() (BOOLEAN)
Function
Returns a flag indicating whether or not the user has aborted the
display of information.
Syntax
ABORT() No arguments are required
Return Type & Value
BOOLEAN
If the user has aborted the display of information by answering no
to a MORE? prompt or by hitting K or X display, this function
returns TRUE. Otherwise FALSE is returned.
Remarks
Unless specifically disabled, the user can abort any display at any
time by hitting K or X or by answering no to a MORE? prompt. If the
user does this, PCBoard will not display any further information until
the display is reset via the RESETDISP statement.
This function should be checked occasionally during long displays of
information to determine if the user wants to abort. If the function
returns TRUE, you should stop printing information and continue with the
next part of the program after using RESETDISP.
Examples
INTEGER I
STARTDISP FCL
' While the user has not aborted, continue
WHILE (!ABORT()) DO
PRINTLN "I is equal to ",I
INC I
ENDWHILE
RESETDISP
See Also:
RESETDISP
STARTDISP
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson